$dir = "kk";
unless(-d $dir){
    system("mkdir -p $dir");
}

=head
JAVA_HOME=/usr/java/jdk1.6.0_05
export JAVA_HOME
$@
